package com.ltu.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ltu.domain.mp_entity.Role;
import com.ltu.model.request.account.RoleCommonReq;
import com.ltu.model.request.base.PageReqData;
import com.ltu.model.response.base.CodeDataResp;
import com.ltu.model.response.CodeResp;
/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Vescky.L
 * @since 2019-10-23
 */
public interface RoleService extends IService<Role> {

    void save(RoleCommonReq roleCommonReq);

    CodeResp remove (RoleCommonReq roleCommonReq);

    CodeDataResp getRoleList(PageReqData pageReqData);

    Role getRoleById(String id);
}
